package com.lzkj.baotouhousingfund.ui;

import android.os.Bundle;
import android.util.Log;
import android.view.View;

import com.lzkj.baotouhousingfund.R;
import com.lzkj.baotouhousingfund.base.SimpleActivity;
import com.lzkj.baotouhousingfund.ui.activity.AccountEnquiryActivity;
import com.lzkj.baotouhousingfund.ui.activity.CenterIntroductionActivity;
import com.lzkj.baotouhousingfund.ui.activity.FocalTopicActivity;
import com.lzkj.baotouhousingfund.ui.activity.GovernmentAffairsNewsActivity;
import com.lzkj.baotouhousingfund.ui.activity.LoginActivity;
import com.lzkj.baotouhousingfund.ui.activity.RegisterActivity;

import butterknife.OnClick;

public class MainActivity extends SimpleActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    @Override
    protected void initEventAndData() {

    }


    @Override
    protected int getLayout() {
        return R.layout.activity_main;
    }

    @OnClick({R.id.lyt_index1, R.id.lyt_index2, R.id.lyt_index3, R.id.lyt_index4, R.id
            .lyt_index5, R.id.lyt_index6, R.id.lyt_index7, R.id.lyt_index8, R.id.lyt_index9})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.lyt_index1:
                CenterIntroductionActivity.start(this);
                break;
            case R.id.lyt_index2:
                GovernmentAffairsNewsActivity.start(this);
                break;
            case R.id.lyt_index3:
                FocalTopicActivity.start(this);
                break;
            case R.id.lyt_index4:
                AccountEnquiryActivity.start(this);
                break;
            case R.id.lyt_index5:
                break;
            case R.id.lyt_index6:
                break;
            case R.id.lyt_index7:
                break;
            case R.id.lyt_index8:
                break;
            case R.id.lyt_index9:
                break;
        }
    }
}
